import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'

import Home from '@/components/Home'
import My from '@/components/My'

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/',name: 'Hello',component: Hello},
    {path: '/home',name: 'Home',component: Home},
    {path: '/my',name: 'My',component: My},
  ]
})
